package com.zhy.sample_okhttp;

import java.util.List;

/**
 * Created by Administrator on 2017/3/27.
 */
public class Good {


    /**
     * id : 248
     * create_uid : 0
     * user_price : 6099.00
     * goods_name : 华为 mate9 pro
     * goods_brief :
     * goods_img : UF/Uploads/Yiyuan/2017011113422092.jpg
     * period : 248000002
     * content : <p><img style="width:100%;height:auto;float:none;margin:0px;" alt="" src="http://newneighbor.id68.cn/UF/Uploads/Article/20170111134032.jpg" /><img style="width:100%;height:auto;float:none;margin:0px;" alt="" src="http://newneighbor.id68.cn/UF/Uploads/Article/20170111134040.jpg" /><img style="width:100%;height:auto;float:none;margin:0px;" alt="" src="http://newneighbor.id68.cn/UF/Uploads/Article/20170111134045.jpg" /><img style="width:100%;height:auto;float:none;margin:0px;" alt="" src="http://newneighbor.id68.cn/UF/Uploads/Article/20170111134051.jpg" /><img style="width:100%;height:auto;float:none;margin:0px;" alt="" src="http://newneighbor.id68.cn/UF/Uploads/Article/20170111134056.jpg" /><img style="width:100%;height:auto;float:none;margin:0px;" alt="" src="http://newneighbor.id68.cn/UF/Uploads/Article/20170111134109.jpg" /><img style="width:100%;height:auto;float:none;margin:0px;" alt="" src="http://newneighbor.id68.cn/UF/Uploads/Article/20170111134115.jpg" /><img style="width:100%;height:auto;float:none;margin:0px;" alt="" src="http://newneighbor.id68.cn/UF/Uploads/Article/20170111134120.jpg" /><img style="width:100%;height:auto;float:none;margin:0px;" alt="" src="http://newneighbor.id68.cn/UF/Uploads/Article/20170111134158.jpg" />商品重要说明： &nbsp;</p><div>1.本商品由第三方提供并负责售后，非质量问题，不得退换；</div><div>2.以上详情页面展示信息仅供参考，商品以实物为准；</div><div>3.商品有多个颜色或图案的，颜色、图案随机发货；</div><div>4.如快递无法配送至获得者提供的送货地址，将默认配送到距离最近的送货地，由获得者本人自提；</div><div>5.用户中奖后，平台将尽最大努力在最快时间内给商品获得者安排发货，但如因市场变化及其他因素导致无法安排该商品发货的，用户可选择换购其他等价商品；</div><div>6.海外直邮商品，根据海关政策，需提供收货人的身份证信息，请慎重参与；</div><div>7.其他注意事项详见《夺宝服务协议》 ；</div><div>8.商品获得者拥有本商品10年免费使用权。</div>
     * img_file : [{"img":"UF/Uploads/Yiyuan/20170111133236220.jpg","info":""},{"img":"UF/Uploads/Yiyuan/20170111133237513.jpg","info":""},{"img":"UF/Uploads/Yiyuan/20170111133237188.jpg","info":""},{"img":"UF/Uploads/Yiyuan/20170111133237998.jpg","info":""}]
     * cid : 0
     * gid : 248
     * remain_num : 3903
     * num : 6399
     * buy_num : 2496
     * is_read : 0
     * bought : 2496
     * progress : 0.390061
     * my_tickets : []
     * lucky_user : null
     * show_id : 0
     * t_status : 1
     * remain_time : 0
     * next_tid : 457
     * rule : <div>
     <p>a、商品的最后一个号码分配完毕后，将公示该分配时间点前本站全部商品的最后30个(不足30位取全部)参与时间；</p>
     <p>b、将这30个时间的数值进行求和（得出数值A）（每个时间按时、分、秒、毫秒的顺序组合，如10:20:30:252则为102030252）；</p>
     <p>c、将这30个用户参与夺宝的ip各段数值（如果数值小于100，补加200）平方后求和取平均值，结果取整（一个五位数值B）【如：共两个参与用户的ip为14.153.17.141和51.45.156.141，则（214^2+153^2+217^2+141^2+251^2+245^2+156^2+141^2）除以8）取整】；</p>
     <p>d、（数值A+数值B）除以该商品总需人次得到的余数+原始数10000001，得到最终幸运号码，拥有该幸运号码者，直接获得该商品。</p>
     </div>
     * max_record_id : 112664
     * show_score : 2000
     */

    private String id;
    private String create_uid;
    private String user_price;
    private String goods_name;
    private String goods_brief;
    private String goods_img;
    private String period;
    private String content;
    private String cid;
    private String gid;
    private String remain_num;
    private String num;
    private String buy_num;
    private String is_read;
    private int bought;
    private double progress;
    private Object lucky_user;
    private int show_id;
    private int t_status;
    private int remain_time;
    private String next_tid;
    private String rule;
    private int max_record_id;
    private int show_score;
    private List<ImgFileBean> img_file;
    private List<?> my_tickets;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCreate_uid() {
        return create_uid;
    }

    public void setCreate_uid(String create_uid) {
        this.create_uid = create_uid;
    }

    public String getUser_price() {
        return user_price;
    }

    public void setUser_price(String user_price) {
        this.user_price = user_price;
    }

    public String getGoods_name() {
        return goods_name;
    }

    public void setGoods_name(String goods_name) {
        this.goods_name = goods_name;
    }

    public String getGoods_brief() {
        return goods_brief;
    }

    public void setGoods_brief(String goods_brief) {
        this.goods_brief = goods_brief;
    }

    public String getGoods_img() {
        return goods_img;
    }

    public void setGoods_img(String goods_img) {
        this.goods_img = goods_img;
    }

    public String getPeriod() {
        return period;
    }

    public void setPeriod(String period) {
        this.period = period;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public String getGid() {
        return gid;
    }

    public void setGid(String gid) {
        this.gid = gid;
    }

    public String getRemain_num() {
        return remain_num;
    }

    public void setRemain_num(String remain_num) {
        this.remain_num = remain_num;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getBuy_num() {
        return buy_num;
    }

    public void setBuy_num(String buy_num) {
        this.buy_num = buy_num;
    }

    public String getIs_read() {
        return is_read;
    }

    public void setIs_read(String is_read) {
        this.is_read = is_read;
    }

    public int getBought() {
        return bought;
    }

    public void setBought(int bought) {
        this.bought = bought;
    }

    public double getProgress() {
        return progress;
    }

    public void setProgress(double progress) {
        this.progress = progress;
    }

    public Object getLucky_user() {
        return lucky_user;
    }

    public void setLucky_user(Object lucky_user) {
        this.lucky_user = lucky_user;
    }

    public int getShow_id() {
        return show_id;
    }

    public void setShow_id(int show_id) {
        this.show_id = show_id;
    }

    public int getT_status() {
        return t_status;
    }

    public void setT_status(int t_status) {
        this.t_status = t_status;
    }

    public int getRemain_time() {
        return remain_time;
    }

    public void setRemain_time(int remain_time) {
        this.remain_time = remain_time;
    }

    public String getNext_tid() {
        return next_tid;
    }

    public void setNext_tid(String next_tid) {
        this.next_tid = next_tid;
    }

    public String getRule() {
        return rule;
    }

    public void setRule(String rule) {
        this.rule = rule;
    }

    public int getMax_record_id() {
        return max_record_id;
    }

    public void setMax_record_id(int max_record_id) {
        this.max_record_id = max_record_id;
    }

    public int getShow_score() {
        return show_score;
    }

    public void setShow_score(int show_score) {
        this.show_score = show_score;
    }

    public List<ImgFileBean> getImg_file() {
        return img_file;
    }

    public void setImg_file(List<ImgFileBean> img_file) {
        this.img_file = img_file;
    }

    public List<?> getMy_tickets() {
        return my_tickets;
    }

    public void setMy_tickets(List<?> my_tickets) {
        this.my_tickets = my_tickets;
    }

    public static class ImgFileBean {
        /**
         * img : UF/Uploads/Yiyuan/20170111133236220.jpg
         * info :
         */

        private String img;
        private String info;

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public String getInfo() {
            return info;
        }

        public void setInfo(String info) {
            this.info = info;
        }
    }
}
